package com.grace.cms.forum.user.service;

import com.grace.cms.common.domain.entity.CmsLookRecord;
import com.grace.cms.common.enums.RecordTypeEnums;
import com.grace.cms.common.model.param.WebRecordParam;
import com.grace.cms.forum.user.model.enums.RecordTableEnum;

public interface IHandRecordService {

    int insertLikeRecord(WebRecordParam recordParam,RecordTypeEnums type);

    int insertNastyRecord(WebRecordParam recordParam,RecordTypeEnums type);

    int insertScoreRecord(WebRecordParam recordParam,RecordTypeEnums type);

    int insertShareRecord(WebRecordParam recordParam,RecordTypeEnums type);

    int insertCollectRecord(WebRecordParam recordParam,RecordTypeEnums type);

    Integer selectRecordVisible(RecordTableEnum recordTable, String recordId, String createBy);

    int updateCmsRecord(WebRecordParam recordParam,RecordTypeEnums type);

    int updateCmsLookRecord(CmsLookRecord lookRecord);
}
